package org.elec.mac.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.elec.mac.entity.SMaterial;

import java.util.List;

/**
 * @Description: 接口
 * @author 
 * @version 1.0
 * @created 
 */
@Mapper
public interface SMaterialMapper extends BaseMapper<SMaterial>{

	public List<SMaterial> getProductMaterialInfo(@Param("pid") Integer pid);

	public List<SMaterial> getDeviceMaterialInfo(@Param("did") Integer did);

}
